package drds.server.buffer;

import java.nio.ByteBuffer;

/**
 * 
 * @author 曹正辉<330937205@qq.com>
 * 
 */
public interface ByteBufferPool {
	public ByteBuffer allocate(int size);

	public void recycle(ByteBuffer byteBuffer);

	public long capacity();

	public long size();

	public int getReadByteBufferBlock();

	public int getAllCount();

	public int getBlockSize();

	public ByteBufferList byteBufferList();
}
